﻿using DAO.DAOService;
using DTO.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BUS.AuthorizationBUS
{
    internal class UserTypeBUS
    {
        public UserTypeDTO GetObjectUserType(String userTypeName, String userTypeDes)
        {
            UserTypeDTO userTypeDTO = new UserTypeDTO();
            userTypeDTO.UserTypeName = userTypeName;
            userTypeDTO.UserTypeDes = userTypeDes;

            return userTypeDTO;
        }

        public bool InsertUserType(UserTypeDTO userTypeDTO)
        {
            return AuthorizationDAOService.InsertUserTypeDAO(userTypeDTO);
        }
    }
}
